package component.hadoop;

import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;

public class FieldLogFieldMapping {
	String  tableName;
	Map<String,String>  fieldLogFieldMapping;
	
	public FieldLogFieldMapping(String tableName) {
		super();
		this.tableName = tableName;
		fieldLogFieldMapping = new LinkedHashMap<String,String>();
	}

	public FieldLogFieldMapping(String tableName,
			Map<String, String> fieldLogFieldMapping) {
		super();
		this.tableName = tableName;
		this.fieldLogFieldMapping = fieldLogFieldMapping;
	}

	public String getTableName() {
		return tableName;
	}

	public Map<String, String> getFieldLogFieldMapping() {
		return fieldLogFieldMapping;
	}

	public boolean containsKey(String key) {
		return fieldLogFieldMapping.containsKey(key);
	}

	public String get(String key) {
		return fieldLogFieldMapping.get(key);
	}

	public void putAll(Map<? extends String, ? extends String> m) {
		fieldLogFieldMapping.putAll(m);
	}

	public Set<Entry<String, String>> entrySet() {
		return fieldLogFieldMapping.entrySet();
	}
	
	
}
